//
//  UIColor+XHHAddition.h
//  XHH_ZFB
//
//  Created by xiaohuihui on 9/15/16.
//  Copyright © 2016 xiaohuihui. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (XHHAddition)
/**
 *  使用十六进制数字创建颜色，例如 0xFF0000 创建红色
 */
+(instancetype)XHH_colorWithHex:(uint32_t)hex;
/**
 *  生成随机颜色
 */
+(instancetype)XHH_randomColor;

+(instancetype)XHH_colorWithRed:(uint8_t)red green:(uint8_t)green blue:(uint8_t)blue;

@end
